#ifndef __USER_HC595_H__
#define __USER_HC595_H__

#include "main.h"
#include "user_logic.h"

//#define LED_SH_H (PC_ODR_bit.ODR7 = 1)
//#define LED_SH_L (PC_ODR_bit.ODR7 = 0)
//
//#define LED_ST_H (PC_ODR_bit.ODR6=1)
//#define LED_ST_L (PC_ODR_bit.ODR6=0)
//
//#define LED_DS_H (PC_ODR_bit.ODR5 = 1)
//#define LED_DS_L (PC_ODR_bit.ODR5 = 0)

#define LED_SH_H (PD_ODR_bit.ODR6 = 1)
#define LED_SH_L (PD_ODR_bit.ODR6 = 0)

#define LED_ST_H (PD_ODR_bit.ODR5=1)
#define LED_ST_L (PD_ODR_bit.ODR5=0)

#define LED_DS_H (PD_ODR_bit.ODR4 = 1)
#define LED_DS_L (PD_ODR_bit.ODR4 = 0)

#define fensuiH (PC_ODR_bit.ODR4 = 1)
#define fensuiL (PC_ODR_bit.ODR4 = 0)

#define chaoshengboH (PC_ODR_bit.ODR5 = 1)
#define chaoshengboL (PC_ODR_bit.ODR5 = 0)


void LEDHC595(unsigned char Data);
void LEDHC595EN(void);
void LEDHC595Init();
void Init(void);


#endif